home *** CD-ROM | disk | FTP | other *** search
/ Stac Reachout 7 / Stac Reachout 7.iso / STACFAX / 8703.TXT < prev    next >
Text File  |  1997-01-31  |  13KB  |  247 lines

  1.       -----------------------------------------------------------------
  2.       STAC NOTE                                               STAC NOTE
  3.                             BASIC COMMUNICATIONS
  4.             (Applies to all ReachOut Modem versions through 5.X)
  5.       STAC FAX  8703 (05-25-1995)
  6.       -----------------------------------------------------------------
  7.                                       
  8.       BACKGROUND
  9.       
  10.       The problems below are symptomatic of basic communications
  11.       issues. They often involve a conflict with Interrupt Requests
  12.       (IRQÆs):
  13.       
  14.           - Cannot open communications port.
  15.           - Communications port not available.
  16.           - Terminal Mode after dialing.
  17.           - Modem reported an error.
  18.           - Improper dialing or no dialing.
  19.           - Other Communications programs work, but ReachOut won't.
  20.           - Random disconnects (applies to ReachOut network product
  21.             also).
  22.            
  23.       DISCUSSION:
  24.       
  25.       Communications ports (Com Ports) have specific addresses that are
  26.       used to input/output information to/from the computer. Com Ports
  27.       also use IRQ's (interrupt request line) to interrupt what ever
  28.       the computer is doing to tell it about incoming information. Some
  29.       software uses this IRQ to detect that the Com Port has
  30.       information to be processed. Other software just watches the Com
  31.       Port address for information.
  32.       
  33.       Each Com Port in the computer has a chip called a UART (Universal
  34.       Asynchronous Receiver Transmitter). The UART controls the flow of
  35.       information from the modem to the computer. Software that is
  36.       trying to talk to a specific Com Port will have a problem if
  37.       there are 2 UARTs responding to the same IRQ with different
  38.       messages.
  39.       
  40.       PCÆs use a Com Port numbering scheme of Com1 to Com4. Depending
  41.       on the machines configuration it may have from 1 to 4 Com Ports
  42.       in it using the following addresses and IRQ's.
  43.       
  44.       PORT      ADDRESS        IRQ
  45.       Com1      03F8           4
  46.       Com2      02F8           3
  47.       Com3      03E8           4
  48.       Com4      02E8           3
  49.       
  50.       These are the standards within the industry, but can be changed
  51.       if the hardware and/or software allow it. Notice Com's 1 through
  52.       4 have unique addresses, but that Com1/Com3 share the same IRQ4
  53.       and Com2/Com4 share IRQ3. This effectively means you can't use
  54.       Com1/3 or Com2/4 devices at the same time since they share IRQ's
  55.       at all times. Some software will allow you to have a shared Com
  56.       Port as long as only one at a time is running in memory or
  57.       receiving information. ReachOut wonÆt allow a shared Com Port
  58.       because of speed.
  59.       
  60.       For a modem to respond to ReachOut it must reside on its own Com
  61.       Port address and unique IRQ line. ReachOut will not look at a Com
  62.       Port that is shared with another piece of hardware/software on
  63.       the same Com Port or IRQ line.
  64.       
  65.       SOLUTIONS
  66.       
  67.       Finding your modem
  68.       
  69.       Be sure your modem is plugged into your PC, via a serial cable,
  70.       or installed internally, and the telephone line is plugged into
  71.       the correct jack, usually marked "Line" or "Telco".
  72.       
  73.       To test your modem configuration, use ReachOutÆs Modem
  74.       Diagnostics. The screen should produce a reset string, begging
  75.       with AT&F...., and an OK on the next line. If the OK is not
  76.       displayed, please follow the steps below. If an ERROR is
  77.       displayed, your modem is not accepting the reset string selected.
  78.       Close Modem Diagnostics, open Configuration/Setup, and select "A
  79.       Hayes Compatible 2400" modem. Repeat Modem Diagnostics. If an OK
  80.       is displayed, your ReachOut Data Speed can be raised to match
  81.       your UART CHIP (see below). A Hayes Compatible 2400 string may
  82.       not take advantage of your modemÆs error correction or data
  83.       compression. Using your modems manual, and ReachOut Modem Config,
  84.       you can write your own reset string. Use existing entries for
  85.       reference.
  86.       
  87.       UART chips determine the speed at which data can be sent to your
  88.       modem. An 8250 UART can support a data speed of 19.2KBPS maximum.
  89.       A 16550 UART chip can support a data speed of 34.4 maximum. These
  90.       maximums are safe and reliable, and should be used when trouble
  91.       shooting. Data speeds higher then 34.4KBPS can be used when Com
  92.       Port Accelerator cards, or high speed internal modems are used.
  93.       
  94.       Find your modem. The simplest way to locate your modem to go to a
  95.       DOS prompt and type:
  96.       
  97.                 ECHO ATH1>COM1
  98.       
  99.       This command should take your modem off-hook, and sound a dial
  100.       tone. If the modem has lights, the OH light should be lit. To put
  101.       the modem back on-hook type
  102.       
  103.                 ECHO ATH0>COM1
  104.       
  105.       Repeat this step for Com2, 3, and 4. Any errors reported, no dial
  106.       tone, no OH light, or returning to the command prompt, means that
  107.       the modem is not available on the Com Port. If the modem cannot
  108.       be found by this method, consult your manufacturer.
  109.       
  110.       Note: this method will not work on Windows only modems.
  111.       Windows device drivers must be run to initialize the modem. A good 
  112.       test for these modems is by using a Windows based terminal emulator. 
  113.       The ECHO command will work there as well.
  114.       
  115.       After locating your modem, use a diagnostic program, such MSD, to
  116.       verify its address and IRQ. In the case of MSD, select Q for IRQ
  117.       settings. The Com Port your modem is on must be on an IRQ to
  118.       itself, not sharing with any existing devices, such as other Com
  119.       Ports, network cards, etc.
  120.       
  121.       If your modem is internal, and  the ECHO method found the modem
  122.       on Com2, you may have an IRQ conflict. To prove this, run MSD,
  123.       and select Q for IRQ settings. Print Screen, or take note of the
  124.       Com Ports Detected. Power off the PC, remove your internal modem,
  125.       restart the system and run MSD again. Compare the Detected IRQ
  126.       versus the previous report. If Com2 is still detected, you have
  127.       an IRQ conflict. The modem must be set to another Com Port and
  128.       IRQ, or the existing device disabled. Consult you PCÆs
  129.       manufacturer for details on disabling Com Ports.
  130.       
  131.       The suggested settings for devices and IRQÆs is;
  132.       
  133.                 Device                   IRQ
  134.                 Com1                      4
  135.                 Com2                      3
  136.                 Internal Modem Com3       5
  137.                 Network Card              10, 11, or 12
  138.       
  139.       This Matrix will avoid IRQ conflicts.
  140.       
  141.            Note: Network cards must also be set to unique IRQs.
  142.       
  143.       With the above completed, use Windows Control Panel to set your
  144.       port. Select Ports, your modemÆs port, Settings, Advanced, and
  145.       verify the port Address and IRQ. This should be done for internal
  146.       modems with IRQ settings other than 3 or 4.
  147.       
  148.       The last step is to set ReachOutÆs configuration to match the
  149.       settings of your modem
  150.       
  151.       EXTERNAL MODEMS:
  152.       
  153.       Com Ports that are built-in to most computers can be identified
  154.       by either a 9 pin or 25 pin connector on the back. Systems may
  155.       have both types of connectors indicating the computer has more
  156.       than one built-in Com Port. Connecting an external modem to
  157.       either type of connector works fine. If you are running MS-DOS 5
  158.       or later, to confirm which Com Port the modem is connected to,
  159.       turn on the modem and at any DOS prompt type "MSD" (MicroSoft
  160.       Diagnostics). Make sure neither Windows nor ReachOut are running.
  161.       Press "C" for Com Ports, look for a "Yes" in the CTS (clear to
  162.       send) field below the Com Port #'s. If there is a "Yes" in the
  163.       CTS field, the modem is connected to that Com Port. If you don't
  164.       see a "Yes" check your modem cable and modem to ensure a proper
  165.       connection.
  166.       
  167.       When you find the modemÆs Com Port, check to make sure that its
  168.       "shared" port is listed as N/A. For shared ports, see the table
  169.       above. For example, if the modem is on Com 2, its shared port is
  170.       Com 4, and should be listed as N/A. If  the shared Com Port has
  171.       entries in the fields, see the section NON-STANDARD IRQ SETUP.
  172.       The only other concern would be if any other non-communication
  173.       type board or device in the computer is set for the same IRQ that
  174.       the modem port uses (i.e. network boards, sound boards, emulation
  175.       boards).
  176.       
  177.       INTERNAL MODEMS:
  178.       
  179.       Before installing the modem, at any DOS prompt type "MSD", press
  180.       "C", note any Com Ports that state N/A under them. You must set
  181.       your internal modem for the first Com Port stating N/A in the
  182.       list. If the Com Port to be used "shares" an IRQ, change the IRQ
  183.       on the modem to any IRQ not in use by any other device in the
  184.       system. (i.e. network boards, sound boards, emulation boards).
  185.       
  186.       Another way to check for the presence of Com Ports is to run MSD
  187.       and press "Q". The "Detected" column shows what Com Ports are
  188.       active. This report also shows what software is handling which
  189.       IRQ in the "Handled By" column. This allows you to determine what
  190.       IRQ's other boards are using (i.e. network cards, soundboards,
  191.       etc.).
  192.       
  193.       NON-STANDARD IRQ SETUP
  194.       
  195.       Most newer modems allow for non-standard Com Port settings (i.e.
  196.       Com3 IRQ5 ) to avoid any "sharing" of an IRQ. Some internal
  197.       modems do not allow for a non-standard settings (i.e. they will
  198.       only allow IRQ3 or IRQ4). For these modems you must disable one
  199.       of the internal Com Ports. This is usually done by moving a
  200.       jumper or switch on the board (consult your system
  201.       documentation.) Then set your internal modem for that Com Port.
  202.       
  203.       Other modems list settings for Com5 through Com8. These are
  204.       actually Com1 through Com4 but on a different IRQ. Check the
  205.       modemÆs documentation or consult with the manufacturer.
  206.       
  207.       ReachOut will only allow a setting up to IRQ 7, so you may have
  208.       to move one of your other devices to free up an IRQ for ReachOut.
  209.       
  210.       Once the modem has been set, run ReachOut setup and change Com
  211.       Port to USER DEFINED and enter the address and IRQ #'s it is set
  212.       for. If you are going to be using Windows, run Windows - Control
  213.       Panel - Ports, select the port - Settings - Advanced, and set the
  214.       address and IRQ.
  215.       
  216.       SOME STANDARD IRQ's AND THEIR USAGE:
  217.       
  218.       IRQ  DEVICE                 IRQ  DEVICE
  219.       1    keyboard                 2    2nd 8259
  220.       3    Com Ports 2/4            4    Com Ports 1/3 / some serial mice
  221.       5    LPT-2/some sound cards   6    floppy drives
  222.       7    LPT-1                    8    system clock
  223.       9    redirected IRQ2          10   could be network cards, sound
  224.                                          cards, video
  225.       11   usually available        12   most bus mice / video capture
  226.                                          cards
  227.       13   math coprocessor         14   hard drive
  228.       
  229.       OTHER INFORMATION:
  230.       
  231.       Avoid skipping Com Ports. DOS sets up an "equipment" list on boot-
  232.       up, and it handles Com Ports by stacking them as Com 1 to 4 as it
  233.       finds them. This means that if you skip a port in your system
  234.       setup (i.e. only have devices set for Com1 and Com4), it will set
  235.       up the equipment list with Com1 as address 03F8, but it will set
  236.       the Com4 device as Com2 address 02E8
  237.       
  238.       Windows may have some Comxbase=, Comxirq=, and Comxautoassign=
  239.       statements in its SYSTEM.INI file. Although some of these 
  240.       statements may be required, removing the unused statements will 
  241.       help. Remove all Comxautoassign= statements (where x= a number 
  242.       from 1-4). Remove any Comxbase= and Comxirq= statements that 
  243.       have the standard settings in them as listed on page 1 of this 
  244.       document.
  245.       -----------------------------------------------------------------
  246.       Copyright 1995 Stac Electronics
  247.